#!/bin/bash
#-----------ip tokens---------------
export ZABBIX_URL="http://192.168.103.141:8080/api_jsonrpc.php"
export AUTH_TOKEN="488f4533c0c531e64101b82062cddc4da2521a0b671b148df9d976cb56a5c303"
#-----------resultdir---------------
export TEMP_ID_FILE="/tmp/temp_event_ids.txt"
export OUTPUT_CSV="/tmp/zabbix_events_export.csv"
export LOG_FILE="/tmp/export_log.txt"
export BATCH_SIZE=10000
export CONCURRENT_BATCHES=5
#-------------start-----------------
./zabbix-event-exporter
